package com.etc.entity;

public class Blog {
    private Integer blogid;

    private String title;

    private String blogcontent;

    private Integer authorid;

    public Integer getBlogid() {
        return blogid;
    }

    @Override
	public String toString() {
		return "Blog [blogid=" + blogid + ", title=" + title + ", blogcontent=" + blogcontent + ", authorid=" + authorid
				+ "]";
	}

	public void setBlogid(Integer blogid) {
        this.blogid = blogid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getBlogcontent() {
        return blogcontent;
    }

    public void setBlogcontent(String blogcontent) {
        this.blogcontent = blogcontent == null ? null : blogcontent.trim();
    }

    public Integer getAuthorid() {
        return authorid;
    }

    public void setAuthorid(Integer authorid) {
        this.authorid = authorid;
    }
}